package com.dxj.request;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author dxj
 * @Description 登录入参
 * @date 2024/7/28 16:15
 */
@Data
public class LoginDTO {
    /**
     * 用户名
     */
    @NotBlank(message = "登录的用户名不能为空")
    @ApiModelProperty(value = "用户名", required = true, example = "赵丽颖")
    private String userName;
    /**
     * 密码
     */
    @ApiModelProperty(value = "密码", required = true, example = "123456")
    @NotBlank(message = "登录的密码不能为空")
    private String passWord;
}
